package com.boss.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(
        prefix = "com.boss.cse.name",
        ignoreInvalidFields = true
)
public class FileServiceConfiguration {

    private String fileservice = "http://salary-file";

    private String glService = "http://mp-b-gl-service";

    private String payVoucherService = "http://pay-voucher-service";

    private String agencyservice = "http://mp-b-agency-service";

    private String budgetService="http://mp-b-budget-service";

    public FileServiceConfiguration(){

    }

    public String getBudgetService() {
        return budgetService;
    }

    public void setBudgetService(String budgetService) {
        this.budgetService = budgetService;
    }

    public String getFileservice() {
        return fileservice;
    }

    public void setFileservice(String fileservice) {
        this.fileservice = fileservice;
    }

    public String getGlService() {
        return glService;
    }

    public void setGlService(String glService) {
        this.glService = glService;
    }

    public String getPayVoucherService() {
        return payVoucherService;
    }

    public void setPayVoucherService(String payVoucherService) {
        this.payVoucherService = payVoucherService;
    }

    public String getAgencyservice() {
        return agencyservice;
    }

    public void setAgencyservice(String agencyservice) {
        this.agencyservice = agencyservice;
    }
}
